<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/Common Module/load_mv.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_df4e0e4e72f77ab290fd1a24f190250a.html">Common Module</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">load_mv.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>播放 avi / wav 音视频  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;ff.h&quot;</code><br />
<code>#include &quot;<a class="el" href="avi__parser_8h_source.html">avi_parser.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="wav__parser_8h_source.html">wav_parser.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="posix__fsm_8h_source.html">posix_fsm.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bsp__init_8h_source.html">bsp_init.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="load__mv_8h_source.html">load_mv.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mem__sdram_8h_source.html">mem_sdram.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="log_8h_source.html">log.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
load_mv.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_common_01_module_2load__mv_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_common_01_module_2load__mv_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_common_01_module_2load__mv_8c">
<area shape="rect" title="播放 avi / wav 音视频" alt="" coords="2068,5,2292,75"/>
<area shape="rect" title=" " alt="" coords="1089,123,1154,148"/>
<area shape="rect" title=" " alt="" coords="1178,123,1217,148"/>
<area shape="rect" href="avi__parser_8h.html" title="avi 视频格式解析" alt="" coords="2268,269,2359,295"/>
<area shape="rect" href="wav__parser_8h.html" title="wav 音频格式解析" alt="" coords="2346,123,2443,148"/>
<area shape="rect" href="posix__fsm_8h.html" title="有限状态机实现" alt="" coords="2479,123,2571,148"/>
<area shape="rect" href="bsp__init_8h.html" title="板级硬件外设初始化" alt="" coords="1241,123,1319,148"/>
<area shape="rect" href="load__mv_8h.html" title="播放 avi / wav 音视频" alt="" coords="2063,123,2143,148"/>
<area shape="rect" href="mem__sdram_8h.html" title="管理片内 SDRAM 存储空间" alt="" coords="2087,269,2193,295"/>
<area shape="rect" href="log_8h.html" title="日志打印/用户提示(告警)" alt="" coords="2217,123,2268,148"/>
<area shape="rect" title=" " alt="" coords="1402,343,1489,368"/>
<area shape="rect" title=" " alt="" coords="2469,269,2534,295"/>
<area shape="rect" title=" " alt="" coords="2615,196,2683,221"/>
<area shape="rect" href="pthread__lock_8h.html" title="互斥锁实现" alt="" coords="2484,196,2591,221"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="561,269,634,295"/>
<area shape="rect" href="dev__systick_8h.html" title="系统滴答定时器" alt="" coords="1051,269,1152,295"/>
<area shape="rect" href="dev__uart_8h.html" title="调试日志串口打印" alt="" coords="817,196,898,221"/>
<area shape="rect" href="dev__bod_8h.html" title="低电压触发配置" alt="" coords="1405,269,1485,295"/>
<area shape="rect" href="dev__rtc_8h.html" title="RTC 在线计时(No VBAT)" alt="" coords="1509,269,1584,295"/>
<area shape="rect" href="dev__crc_8h.html" title="硬件 CRC" alt="" coords="1608,269,1685,295"/>
<area shape="rect" href="dev__sfc_8h.html" title="SPI&#45;Flash Control 硬件专用高速模块" alt="" coords="1710,269,1786,295"/>
<area shape="rect" href="dev__sdram_8h.html" title="芯片内置 SDRAM" alt="" coords="1810,269,1905,295"/>
<area shape="rect" href="dev__sdio_8h.html" title="SDIO 驱动 SD 卡" alt="" coords="1929,269,2012,295"/>
<area shape="rect" href="dev__jpeg_8h.html" title="JPEG 硬件解码" alt="" coords="608,196,691,221"/>
<area shape="rect" href="dev__dac_8h.html" title="DAC 音频播放" alt="" coords="5,269,85,295"/>
<area shape="rect" href="dev__lcd_8h.html" title="LCD 驱动显示" alt="" coords="78,196,154,221"/>
<area shape="rect" href="dev__touch_8h.html" title="TP 触摸设备驱动层" alt="" coords="443,196,533,221"/>
<area shape="rect" href="dev__sleep__stop_8h.html" title="浅/深睡眠" alt="" coords="179,196,301,221"/>
<area shape="rect" href="usbh__user_8h.html" title="USB Host 用户配置" alt="" coords="325,196,419,221"/>
<area shape="rect" title=" " alt="" coords="923,196,1048,221"/>
<area shape="rect" title=" " alt="" coords="1073,196,1197,221"/>
<area shape="rect" title=" " alt="" coords="1221,196,1339,221"/>
<area shape="rect" title=" " alt="" coords="1363,196,1493,221"/>
<area shape="rect" title=" " alt="" coords="1518,196,1639,221"/>
<area shape="rect" title=" " alt="" coords="1663,196,1787,221"/>
<area shape="rect" href="jfif__parser_8h.html" title="jpeg 图片 jfif 格式解析" alt="" coords="709,269,797,295"/>
<area shape="rect" title=" " alt="" coords="392,269,485,295"/>
<area shape="rect" href="usbh__conf_8h.html" title="USB Host Config" alt="" coords="225,269,317,295"/>
<area shape="rect" href="usbh__msc__conf_8h.html" title="USB Host MSC 类配置" alt="" coords="209,343,333,368"/>
</map>
</div>
</div>
<p><a href="load__mv_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structppbuf__t.html">ppbuf_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ping pong buffer control structure(乒乓双缓冲)  <a href="structppbuf__t.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a127a925bbc489eb0be2849086588a258"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a127a925bbc489eb0be2849086588a258">MV_DEBUG_ENABLE</a></td></tr>
<tr class="memdesc:a127a925bbc489eb0be2849086588a258"><td class="mdescLeft">&#160;</td><td class="mdescRight">模块调试日志输出使能宏  <a href="load__mv_8c.html#a127a925bbc489eb0be2849086588a258">更多...</a><br /></td></tr>
<tr class="separator:a127a925bbc489eb0be2849086588a258"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd1e47f634a69dfe15a08cf0ca6219b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#abd1e47f634a69dfe15a08cf0ca6219b0">MV_LOG</a>(...)&#160;&#160;&#160;<a class="el" href="log_8h.html#a378e28bfcb78d17285210d6bbb70a083">LOG_INFO</a>(__VA_ARGS__)</td></tr>
<tr class="memdesc:abd1e47f634a69dfe15a08cf0ca6219b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">模块调试日志打印宏  <a href="load__mv_8c.html#abd1e47f634a69dfe15a08cf0ca6219b0">更多...</a><br /></td></tr>
<tr class="separator:abd1e47f634a69dfe15a08cf0ca6219b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35c6cf21059ba899b846d63b5224dc54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a35c6cf21059ba899b846d63b5224dc54">TIMR_AVI</a>&#160;&#160;&#160;BTIMR0</td></tr>
<tr class="memdesc:a35c6cf21059ba899b846d63b5224dc54"><td class="mdescLeft">&#160;</td><td class="mdescRight">avi 视频播放用定时器  <a href="load__mv_8c.html#a35c6cf21059ba899b846d63b5224dc54">更多...</a><br /></td></tr>
<tr class="separator:a35c6cf21059ba899b846d63b5224dc54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c703137502abaebf7487b6d19a7565"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#aa7c703137502abaebf7487b6d19a7565">PCM_BUFSIZE</a>&#160;&#160;&#160;(2048)</td></tr>
<tr class="memdesc:aa7c703137502abaebf7487b6d19a7565"><td class="mdescLeft">&#160;</td><td class="mdescRight">此处直接定义成2048，比较好的方法应该是根据 wav/avi 文件头解析出的大小在堆中申请空间  <a href="load__mv_8c.html#aa7c703137502abaebf7487b6d19a7565">更多...</a><br /></td></tr>
<tr class="separator:aa7c703137502abaebf7487b6d19a7565"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:aefd70b8b91d72cbd548b6c38f385983b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983b">fsm_state_t</a> { <a class="el" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a> = 0
, <a class="el" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a>
, <a class="el" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a>
 }</td></tr>
<tr class="memdesc:aefd70b8b91d72cbd548b6c38f385983b"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频播放状态  <a href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983b">更多...</a><br /></td></tr>
<tr class="separator:aefd70b8b91d72cbd548b6c38f385983b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a493217321e8eec123f3a1a788dddcf11"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11">fsm_event_t</a> { <br />
&#160;&#160;<a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0eebdd5efb02ae138999a818a5ace4a0">fsm_event_idle</a> = 0
, <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e">fsm_event_parser_avi</a>
, <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d">fsm_event_parser_wav</a>
, <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f">fsm_event_decode</a>
, <br />
&#160;&#160;<a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209">fsm_event_close</a>
<br />
 }</td></tr>
<tr class="memdesc:a493217321e8eec123f3a1a788dddcf11"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频事件  <a href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11">更多...</a><br /></td></tr>
<tr class="separator:a493217321e8eec123f3a1a788dddcf11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a> { <br />
&#160;&#160;<a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <a class="el" href="dev__jpeg_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__jpeg_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <br />
&#160;&#160;<a class="el" href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <a class="el" href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
<br />
 }</td></tr>
<tr class="memdesc:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="mdescLeft">&#160;</td><td class="mdescRight">中断标志  <a href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">更多...</a><br /></td></tr>
<tr class="separator:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a904f1d788d926c7864c948c4f9d1c66f"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a904f1d788d926c7864c948c4f9d1c66f">cb_parser_avi</a> (void *data)</td></tr>
<tr class="memdesc:a904f1d788d926c7864c948c4f9d1c66f"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析 avi 视频源  <a href="load__mv_8c.html#a904f1d788d926c7864c948c4f9d1c66f">更多...</a><br /></td></tr>
<tr class="separator:a904f1d788d926c7864c948c4f9d1c66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a29f68f2d856a9c2eea3a328d5233e8"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8">cb_decode_avi</a> (void *data)</td></tr>
<tr class="memdesc:a3a29f68f2d856a9c2eea3a328d5233e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">解码 avi 视频播放  <a href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8">更多...</a><br /></td></tr>
<tr class="separator:a3a29f68f2d856a9c2eea3a328d5233e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a978ed993bd878f76db92c810771c0ee8"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a978ed993bd878f76db92c810771c0ee8">cb_close_avi</a> (void *data)</td></tr>
<tr class="memdesc:a978ed993bd878f76db92c810771c0ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭 avi 视频, 并释放所占用的资源  <a href="load__mv_8c.html#a978ed993bd878f76db92c810771c0ee8">更多...</a><br /></td></tr>
<tr class="separator:a978ed993bd878f76db92c810771c0ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0beb39d84c085c9baadb8a933edf1e53"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a0beb39d84c085c9baadb8a933edf1e53">cb_parser_wav</a> (void *data)</td></tr>
<tr class="memdesc:a0beb39d84c085c9baadb8a933edf1e53"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析 wav 音频源  <a href="load__mv_8c.html#a0beb39d84c085c9baadb8a933edf1e53">更多...</a><br /></td></tr>
<tr class="separator:a0beb39d84c085c9baadb8a933edf1e53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade87c0786f4382f3e221f3a79cef3a01"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#ade87c0786f4382f3e221f3a79cef3a01">cb_decode_wav</a> (void *data)</td></tr>
<tr class="memdesc:ade87c0786f4382f3e221f3a79cef3a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">解码 wav 音频播放  <a href="load__mv_8c.html#ade87c0786f4382f3e221f3a79cef3a01">更多...</a><br /></td></tr>
<tr class="separator:ade87c0786f4382f3e221f3a79cef3a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79e1ebe637dcb48c69706eb81c73b576"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a79e1ebe637dcb48c69706eb81c73b576">cb_close_wav</a> (void *data)</td></tr>
<tr class="memdesc:a79e1ebe637dcb48c69706eb81c73b576"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭 wav 音频, 并释放所占用的资源  <a href="load__mv_8c.html#a79e1ebe637dcb48c69706eb81c73b576">更多...</a><br /></td></tr>
<tr class="separator:a79e1ebe637dcb48c69706eb81c73b576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce56145e8e2449ba3049c2a622e84b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a6ce56145e8e2449ba3049c2a622e84b6">isr_btimer_avi</a> (void)</td></tr>
<tr class="memdesc:a6ce56145e8e2449ba3049c2a622e84b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer ISR Callback (AVI 视频帧率控制)  <a href="load__mv_8c.html#a6ce56145e8e2449ba3049c2a622e84b6">更多...</a><br /></td></tr>
<tr class="separator:a6ce56145e8e2449ba3049c2a622e84b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4baf0d2c0d6e1fea0ddb9867c9747f8b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">mv_task_handler</a> (void)</td></tr>
<tr class="memdesc:a4baf0d2c0d6e1fea0ddb9867c9747f8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频任务处理  <a href="load__mv_8c.html#a4baf0d2c0d6e1fea0ddb9867c9747f8b">更多...</a><br /></td></tr>
<tr class="separator:a4baf0d2c0d6e1fea0ddb9867c9747f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03d657977c16952b0a16e589fbd6e71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71">mv_task_over</a> (void)</td></tr>
<tr class="memdesc:ab03d657977c16952b0a16e589fbd6e71"><td class="mdescLeft">&#160;</td><td class="mdescRight">结束播放, 释放所占用的资源  <a href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71">更多...</a><br /></td></tr>
<tr class="separator:ab03d657977c16952b0a16e589fbd6e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dd8d59698dc593d41250fc09a0ae5a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5">mv_task_init</a> (const char *file_path)</td></tr>
<tr class="memdesc:a7dd8d59698dc593d41250fc09a0ae5a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">打开源文件启动播放  <a href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5">更多...</a><br /></td></tr>
<tr class="separator:a7dd8d59698dc593d41250fc09a0ae5a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2877cfdf885996dd8831a2a37660352d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a2877cfdf885996dd8831a2a37660352d">mv_task_pause</a> (void)</td></tr>
<tr class="memdesc:a2877cfdf885996dd8831a2a37660352d"><td class="mdescLeft">&#160;</td><td class="mdescRight">暂停播放  <a href="load__mv_8c.html#a2877cfdf885996dd8831a2a37660352d">更多...</a><br /></td></tr>
<tr class="separator:a2877cfdf885996dd8831a2a37660352d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a913dfd46ff07efd13423f77b143fd156"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a913dfd46ff07efd13423f77b143fd156">mv_task_resume</a> (void)</td></tr>
<tr class="memdesc:a913dfd46ff07efd13423f77b143fd156"><td class="mdescLeft">&#160;</td><td class="mdescRight">恢复播放  <a href="load__mv_8c.html#a913dfd46ff07efd13423f77b143fd156">更多...</a><br /></td></tr>
<tr class="separator:a913dfd46ff07efd13423f77b143fd156"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cbedc9a40c34ca836f988cc88f5640f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a9cbedc9a40c34ca836f988cc88f5640f">lcd_set_alpha</a> (<a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint8_t alpha)</td></tr>
<tr class="memdesc:a9cbedc9a40c34ca836f988cc88f5640f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置图层透明度  <a href="load__mv_8c.html#a9cbedc9a40c34ca836f988cc88f5640f">更多...</a><br /></td></tr>
<tr class="separator:a9cbedc9a40c34ca836f988cc88f5640f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6be0f2908cc5e6f47baae4138c8be510"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a6be0f2908cc5e6f47baae4138c8be510">lcd_set_color_key</a> (<a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint8_t color_key_enable, uint32_t rgb)</td></tr>
<tr class="memdesc:a6be0f2908cc5e6f47baae4138c8be510"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置图层色键控  <a href="load__mv_8c.html#a6be0f2908cc5e6f47baae4138c8be510">更多...</a><br /></td></tr>
<tr class="separator:a6be0f2908cc5e6f47baae4138c8be510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26fdaf5976717811bbc2342599b1da4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a26fdaf5976717811bbc2342599b1da4b">video_outset_format</a> (uint8_t format, uint8_t rgb565_dither)</td></tr>
<tr class="memdesc:a26fdaf5976717811bbc2342599b1da4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置视频解码输出格式  <a href="load__mv_8c.html#a26fdaf5976717811bbc2342599b1da4b">更多...</a><br /></td></tr>
<tr class="separator:a26fdaf5976717811bbc2342599b1da4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a319fc11a86458ae8f312ba52f686483c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c">video_set_post</a> (<a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a> lcd_layer, uint16_t xs, uint16_t ys)</td></tr>
<tr class="memdesc:a319fc11a86458ae8f312ba52f686483c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置视频播放显示区域  <a href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c">更多...</a><br /></td></tr>
<tr class="separator:a319fc11a86458ae8f312ba52f686483c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ff08970bdf7f8e28122786eac11d6d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3">video_set_loop</a> (const uint32_t times, const uint32_t max)</td></tr>
<tr class="memdesc:a3ff08970bdf7f8e28122786eac11d6d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置视频循环播放次数  <a href="load__mv_8c.html#a3ff08970bdf7f8e28122786eac11d6d3">更多...</a><br /></td></tr>
<tr class="separator:a3ff08970bdf7f8e28122786eac11d6d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe5464036c09e633ce1a409d40e11164"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#abe5464036c09e633ce1a409d40e11164">video_get_loop</a> (uint32_t *times, uint32_t *max)</td></tr>
<tr class="memdesc:abe5464036c09e633ce1a409d40e11164"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视频循环播放次数  <a href="load__mv_8c.html#abe5464036c09e633ce1a409d40e11164">更多...</a><br /></td></tr>
<tr class="separator:abe5464036c09e633ce1a409d40e11164"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3b1a7d6c03074968fcdfa784fe8fe14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#ab3b1a7d6c03074968fcdfa784fe8fe14">video_center_with_tp</a> (uint16_t x, uint16_t y)</td></tr>
<tr class="memdesc:ab3b1a7d6c03074968fcdfa784fe8fe14"><td class="mdescLeft">&#160;</td><td class="mdescRight">视频中心跟随触摸移动  <a href="load__mv_8c.html#ab3b1a7d6c03074968fcdfa784fe8fe14">更多...</a><br /></td></tr>
<tr class="separator:ab3b1a7d6c03074968fcdfa784fe8fe14"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a03ef2b3ebf33b58442ece296ef64254b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="structfsm__handle__t.html">fsm_handle_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">FSM_Event_Table</a> []</td></tr>
<tr class="memdesc:a03ef2b3ebf33b58442ece296ef64254b"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频状态转移表  <a href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">更多...</a><br /></td></tr>
<tr class="separator:a03ef2b3ebf33b58442ece296ef64254b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b04ea3ab24f188f71239a1d3b808030"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structfsm__t.html">fsm_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a7b04ea3ab24f188f71239a1d3b808030">FSM</a></td></tr>
<tr class="memdesc:a7b04ea3ab24f188f71239a1d3b808030"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频状态机句柄  <a href="load__mv_8c.html#a7b04ea3ab24f188f71239a1d3b808030">更多...</a><br /></td></tr>
<tr class="separator:a7b04ea3ab24f188f71239a1d3b808030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe7750a41e8ce4686680033dcc321cec"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11">fsm_event_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#abe7750a41e8ce4686680033dcc321cec">Event_ID</a> = <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0eebdd5efb02ae138999a818a5ace4a0">fsm_event_idle</a></td></tr>
<tr class="memdesc:abe7750a41e8ce4686680033dcc321cec"><td class="mdescLeft">&#160;</td><td class="mdescRight">音视频触发事件  <a href="load__mv_8c.html#abe7750a41e8ce4686680033dcc321cec">更多...</a><br /></td></tr>
<tr class="separator:abe7750a41e8ce4686680033dcc321cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a3e1add9e325bafcb5ce220c4cf75bd"><td class="memItemLeft" align="right" valign="top">static int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a3a3e1add9e325bafcb5ce220c4cf75bd">Audio_PCM_Buff</a> [<a class="el" href="load__mv_8c.html#aa7c703137502abaebf7487b6d19a7565">PCM_BUFSIZE</a> *2]</td></tr>
<tr class="memdesc:a3a3e1add9e325bafcb5ce220c4cf75bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">音频数据缓存  <a href="load__mv_8c.html#a3a3e1add9e325bafcb5ce220c4cf75bd">更多...</a><br /></td></tr>
<tr class="separator:a3a3e1add9e325bafcb5ce220c4cf75bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23bd76710e0085785dc0c07eee9f562b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structppbuf__t.html">ppbuf_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a23bd76710e0085785dc0c07eee9f562b">Audio_Control</a> = {&amp;<a class="el" href="load__mv_8c.html#a3a3e1add9e325bafcb5ce220c4cf75bd">Audio_PCM_Buff</a>[0], 0, 1}</td></tr>
<tr class="memdesc:a23bd76710e0085785dc0c07eee9f562b"><td class="mdescLeft">&#160;</td><td class="mdescRight">音频数据乒乓操作句柄  <a href="load__mv_8c.html#a23bd76710e0085785dc0c07eee9f562b">更多...</a><br /></td></tr>
<tr class="separator:a23bd76710e0085785dc0c07eee9f562b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc289e18199098eb1e60099e71ce5476"><td class="memItemLeft" align="right" valign="top">static jpeg_outset_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#acc289e18199098eb1e60099e71ce5476">Video_OutSet</a></td></tr>
<tr class="memdesc:acc289e18199098eb1e60099e71ce5476"><td class="mdescLeft">&#160;</td><td class="mdescRight">视频播放中 JPEG 解码输出设定  <a href="load__mv_8c.html#acc289e18199098eb1e60099e71ce5476">更多...</a><br /></td></tr>
<tr class="separator:acc289e18199098eb1e60099e71ce5476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dad906d6569beca6b524a122e5ebb11"><td class="memItemLeft" align="right" valign="top">static FIL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a4dad906d6569beca6b524a122e5ebb11">File_Handle</a></td></tr>
<tr class="memdesc:a4dad906d6569beca6b524a122e5ebb11"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件句柄  <a href="load__mv_8c.html#a4dad906d6569beca6b524a122e5ebb11">更多...</a><br /></td></tr>
<tr class="separator:a4dad906d6569beca6b524a122e5ebb11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a270fa9b5805fcc89bfb0c3f0bcf77c4d"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a270fa9b5805fcc89bfb0c3f0bcf77c4d">Restart_Stream_ID</a> = 0</td></tr>
<tr class="memdesc:a270fa9b5805fcc89bfb0c3f0bcf77c4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">流起始数据类型  <a href="load__mv_8c.html#a270fa9b5805fcc89bfb0c3f0bcf77c4d">更多...</a><br /></td></tr>
<tr class="separator:a270fa9b5805fcc89bfb0c3f0bcf77c4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a466f231c4630e48f95aa5980f6d0cc42"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a466f231c4630e48f95aa5980f6d0cc42">Restart_Offset</a> = 0</td></tr>
<tr class="memdesc:a466f231c4630e48f95aa5980f6d0cc42"><td class="mdescLeft">&#160;</td><td class="mdescRight">流起始数据偏移量  <a href="load__mv_8c.html#a466f231c4630e48f95aa5980f6d0cc42">更多...</a><br /></td></tr>
<tr class="separator:a466f231c4630e48f95aa5980f6d0cc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6b06c522e8f78610aa821eff3a2508"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#adf6b06c522e8f78610aa821eff3a2508">Restart_StreamSize</a> = 0</td></tr>
<tr class="memdesc:adf6b06c522e8f78610aa821eff3a2508"><td class="mdescLeft">&#160;</td><td class="mdescRight">流起始的数据大小  <a href="load__mv_8c.html#adf6b06c522e8f78610aa821eff3a2508">更多...</a><br /></td></tr>
<tr class="separator:adf6b06c522e8f78610aa821eff3a2508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47fdfbb31eda448a7ec364e2e724c2b7"><td class="memItemLeft" align="right" valign="top">static volatile uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a47fdfbb31eda448a7ec364e2e724c2b7">Video_Loop_Nums</a> = 0</td></tr>
<tr class="memdesc:a47fdfbb31eda448a7ec364e2e724c2b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前视频已循环播放次数  <a href="load__mv_8c.html#a47fdfbb31eda448a7ec364e2e724c2b7">更多...</a><br /></td></tr>
<tr class="separator:a47fdfbb31eda448a7ec364e2e724c2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc415ff7c829fa6c6a78755deccbc10d"><td class="memItemLeft" align="right" valign="top">static volatile uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#adc415ff7c829fa6c6a78755deccbc10d">Video_Loop_Max</a> = 0xFFFFFFFF</td></tr>
<tr class="memdesc:adc415ff7c829fa6c6a78755deccbc10d"><td class="mdescLeft">&#160;</td><td class="mdescRight">视频循环播放次数上限( uint32_t )  <a href="load__mv_8c.html#adc415ff7c829fa6c6a78755deccbc10d">更多...</a><br /></td></tr>
<tr class="separator:adc415ff7c829fa6c6a78755deccbc10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a492fd8587926eace74ba1054485d66b5"><td class="memItemLeft" align="right" valign="top">static volatile <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a492fd8587926eace74ba1054485d66b5">IRQ_Flag_Frame</a> = <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a></td></tr>
<tr class="memdesc:a492fd8587926eace74ba1054485d66b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">帧率标志  <a href="load__mv_8c.html#a492fd8587926eace74ba1054485d66b5">更多...</a><br /></td></tr>
<tr class="separator:a492fd8587926eace74ba1054485d66b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a158fc3faa30ddbece4360f3114710212"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="load__mv_8c.html#a158fc3faa30ddbece4360f3114710212">Debug_FR_Table</a> []</td></tr>
<tr class="memdesc:a158fc3faa30ddbece4360f3114710212"><td class="mdescLeft">&#160;</td><td class="mdescRight">FATFS 文件系统 Debug 表  <a href="load__mv_8c.html#a158fc3faa30ddbece4360f3114710212">更多...</a><br /></td></tr>
<tr class="separator:a158fc3faa30ddbece4360f3114710212"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >播放 avi / wav 音视频 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd><br  />
 本模块涉及 SDRAM 动态分配/释放, 为提高使用效率方便管理, 声明引用 mem_sdram 模块, 用户也可自行实现 sdram_malloc/free 接口</dd></dl>
<p>本模块高度依赖于 FATFS 开源组件实现, 移植本模块请附带先移植 FATFS 组件.</p>
<p >应用场景说明 :</p>
<p >1、播放 avi 视频(带音轨)</p>
<p >2、播放 avi 视频(不带音轨)</p>
<p >3、播放 wav 音频</p>
<p >1 与 3 互斥, 2 与 3 理论可同时进行, 但综合考虑实际应用场景与 MCU 处理能力(例如在PC上拼接视频与音轨可合成 1), 故此处将 2 与 3 设为互斥, 暂未添加对该需求的支持.</p>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 中定义.</p>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="a127a925bbc489eb0be2849086588a258" name="a127a925bbc489eb0be2849086588a258"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a127a925bbc489eb0be2849086588a258">&#9670;&#160;</a></span>MV_DEBUG_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MV_DEBUG_ENABLE</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>模块调试日志输出使能宏 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a id="abd1e47f634a69dfe15a08cf0ca6219b0" name="abd1e47f634a69dfe15a08cf0ca6219b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd1e47f634a69dfe15a08cf0ca6219b0">&#9670;&#160;</a></span>MV_LOG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MV_LOG</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>...</em></td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="log_8h.html#a378e28bfcb78d17285210d6bbb70a083">LOG_INFO</a>(__VA_ARGS__)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>模块调试日志打印宏 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00054">54</a> 行定义.</p>

</div>
</div>
<a id="a35c6cf21059ba899b846d63b5224dc54" name="a35c6cf21059ba899b846d63b5224dc54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35c6cf21059ba899b846d63b5224dc54">&#9670;&#160;</a></span>TIMR_AVI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIMR_AVI&#160;&#160;&#160;BTIMR0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>avi 视频播放用定时器 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00060">60</a> 行定义.</p>

</div>
</div>
<a id="aa7c703137502abaebf7487b6d19a7565" name="aa7c703137502abaebf7487b6d19a7565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7c703137502abaebf7487b6d19a7565">&#9670;&#160;</a></span>PCM_BUFSIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PCM_BUFSIZE&#160;&#160;&#160;(2048)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>此处直接定义成2048，比较好的方法应该是根据 wav/avi 文件头解析出的大小在堆中申请空间 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">枚举类型说明</h2>
<a id="aefd70b8b91d72cbd548b6c38f385983b" name="aefd70b8b91d72cbd548b6c38f385983b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefd70b8b91d72cbd548b6c38f385983b">&#9670;&#160;</a></span>fsm_state_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983b">fsm_state_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>音视频播放状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1" name="aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1"></a>fsm_state_idle&#160;</td><td class="fielddoc"><p >空闲态 </p>
</td></tr>
<tr><td class="fieldname"><a id="aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e" name="aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e"></a>fsm_state_run_avi&#160;</td><td class="fielddoc"><p >运行态-avi </p>
</td></tr>
<tr><td class="fieldname"><a id="aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8" name="aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8"></a>fsm_state_run_wav&#160;</td><td class="fielddoc"><p >运行态-wav </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<a id="a493217321e8eec123f3a1a788dddcf11" name="a493217321e8eec123f3a1a788dddcf11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a493217321e8eec123f3a1a788dddcf11">&#9670;&#160;</a></span>fsm_event_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11">fsm_event_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>音视频事件 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a493217321e8eec123f3a1a788dddcf11a0eebdd5efb02ae138999a818a5ace4a0" name="a493217321e8eec123f3a1a788dddcf11a0eebdd5efb02ae138999a818a5ace4a0"></a>fsm_event_idle&#160;</td><td class="fielddoc"><p >空闲挂起(特权级) </p>
</td></tr>
<tr><td class="fieldname"><a id="a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e" name="a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e"></a>fsm_event_parser_avi&#160;</td><td class="fielddoc"><p >解析 avi 头 </p>
</td></tr>
<tr><td class="fieldname"><a id="a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d" name="a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d"></a>fsm_event_parser_wav&#160;</td><td class="fielddoc"><p >解析 wav 头 </p>
</td></tr>
<tr><td class="fieldname"><a id="a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f" name="a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f"></a>fsm_event_decode&#160;</td><td class="fielddoc"><p >解码 </p>
</td></tr>
<tr><td class="fieldname"><a id="a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209" name="a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209"></a>fsm_event_close&#160;</td><td class="fielddoc"><p >关闭 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<a id="a3d600ad47f709a0dcfa5cbf1a00fc31a" name="a3d600ad47f709a0dcfa5cbf1a00fc31a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d600ad47f709a0dcfa5cbf1a00fc31a">&#9670;&#160;</a></span>irq_flag_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>中断标志 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00097">97</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a904f1d788d926c7864c948c4f9d1c66f" name="a904f1d788d926c7864c948c4f9d1c66f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a904f1d788d926c7864c948c4f9d1c66f">&#9670;&#160;</a></span>cb_parser_avi()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_parser_avi </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析 avi 视频源 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: avi 视频源文件绝对路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00533">533</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a904f1d788d926c7864c948c4f9d1c66f_cgraph.png" border="0" usemap="#aload__mv_8c_a904f1d788d926c7864c948c4f9d1c66f_cgraph" alt=""/></div>
<map name="aload__mv_8c_a904f1d788d926c7864c948c4f9d1c66f_cgraph" id="aload__mv_8c_a904f1d788d926c7864c948c4f9d1c66f_cgraph">
<area shape="rect" title="解析 avi 视频源" alt="" coords="5,156,107,181"/>
<area shape="rect" href="avi__parser_8c.html#a73b7c644cef0ac1324602e57006ba23c" title="获取 stream 流信息" alt="" coords="161,5,290,31"/>
<area shape="rect" href="avi__parser_8c.html#ab72d5be5e6149cfe3dc314d99f5b11c2" title="avi 格式解析" alt="" coords="195,55,256,80"/>
<area shape="rect" href="avi__parser_8c.html#a56b444192eb7b54acf7dcac7829e4f45" title="查找 movi ID" alt="" coords="344,80,441,105"/>
<area shape="rect" href="dev__dac_8c.html#a1cbb394145c7d8b7a7d17fc24a2d6406" title="DAC_DMA 配置, 采用 TIMR 触发 DMA 步进传输" alt="" coords="176,156,275,181"/>
<area shape="rect" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7" title="释放一块内存" alt="" coords="182,205,269,231"/>
<area shape="rect" href="mem__sdram_8c.html#a5518679ba96822661667b2b3d5182379" title="获取空闲可用内存大小" alt="" coords="155,255,296,280"/>
<area shape="rect" href="mem__sdram_8c.html#ae1630464a6d7686e9e41daf4b38e74a8" title="申请一块内存" alt="" coords="174,304,277,329"/>
</map>
</div>

</div>
</div>
<a id="a3a29f68f2d856a9c2eea3a328d5233e8" name="a3a29f68f2d856a9c2eea3a328d5233e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a29f68f2d856a9c2eea3a328d5233e8">&#9670;&#160;</a></span>cb_decode_avi()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_decode_avi </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解码 avi 视频播放 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: 事件参数(暂未使用, 可自定义) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00770">770</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a3a29f68f2d856a9c2eea3a328d5233e8_cgraph.png" border="0" usemap="#aload__mv_8c_a3a29f68f2d856a9c2eea3a328d5233e8_cgraph" alt=""/></div>
<map name="aload__mv_8c_a3a29f68f2d856a9c2eea3a328d5233e8_cgraph" id="aload__mv_8c_a3a29f68f2d856a9c2eea3a328d5233e8_cgraph">
<area shape="rect" title="解码 avi 视频播放" alt="" coords="5,104,112,129"/>
<area shape="rect" href="avi__parser_8c.html#a73b7c644cef0ac1324602e57006ba23c" title="获取 stream 流信息" alt="" coords="175,5,305,31"/>
<area shape="rect" href="load__mv_8c.html#a978ed993bd878f76db92c810771c0ee8" title="关闭 avi 视频, 并释放所占用的资源" alt="" coords="192,55,288,80"/>
<area shape="rect" href="dev__dac_8c.html#ab18d2dbe4e762641f948bc31b52234f4" title="DAC DMA 判断是否传输完成" alt="" coords="160,104,320,129"/>
<area shape="rect" href="dev__jpeg_8c.html#ac0e9fc8534c961b9dbba6ad4b8e8b61e" title="JPEG 硬件解码" alt="" coords="193,153,287,179"/>
<area shape="rect" href="dev__jpeg_8c.html#a1cbc17a98f22c1c19a7d33c85a14fccd" title="JPEG 硬件解码忙查询" alt="" coords="369,203,509,228"/>
<area shape="rect" href="dev__dac_8c.html#a7274a6adbc1a4a9f5a2f27be8d1225e4" title="DAC_DMA 配置恢复初始默认状态" alt="" coords="382,5,495,31"/>
<area shape="rect" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7" title="释放一块内存" alt="" coords="395,55,482,80"/>
<area shape="rect" href="mem__sdram_8c.html#a5518679ba96822661667b2b3d5182379" title="获取空闲可用内存大小" alt="" coords="368,104,509,129"/>
<area shape="rect" href="jfif__parser_8c.html#abf9f65ef7651d67c735920acc808427a" title="JPEG 图片解析 JFIF 格式" alt="" coords="402,153,475,179"/>
</map>
</div>

</div>
</div>
<a id="a978ed993bd878f76db92c810771c0ee8" name="a978ed993bd878f76db92c810771c0ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a978ed993bd878f76db92c810771c0ee8">&#9670;&#160;</a></span>cb_close_avi()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_close_avi </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>关闭 avi 视频, 并释放所占用的资源 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: 事件参数(暂未使用, 可自定义) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00482">482</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a978ed993bd878f76db92c810771c0ee8_cgraph.png" border="0" usemap="#aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_cgraph" alt=""/></div>
<map name="aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_cgraph" id="aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_cgraph">
<area shape="rect" title="关闭 avi 视频, 并释放所占用的资源" alt="" coords="5,55,101,80"/>
<area shape="rect" href="dev__dac_8c.html#a7274a6adbc1a4a9f5a2f27be8d1225e4" title="DAC_DMA 配置恢复初始默认状态" alt="" coords="163,5,277,31"/>
<area shape="rect" href="mem__sdram_8c.html#a9ef7e7053d4000fe99a7eacc8d9346d7" title="释放一块内存" alt="" coords="177,55,263,80"/>
<area shape="rect" href="mem__sdram_8c.html#a5518679ba96822661667b2b3d5182379" title="获取空闲可用内存大小" alt="" coords="149,104,291,129"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a978ed993bd878f76db92c810771c0ee8_icgraph.png" border="0" usemap="#aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_icgraph" alt=""/></div>
<map name="aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_icgraph" id="aload__mv_8c_a978ed993bd878f76db92c810771c0ee8_icgraph">
<area shape="rect" title="关闭 avi 视频, 并释放所占用的资源" alt="" coords="160,5,256,31"/>
<area shape="rect" href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8" title="解码 avi 视频播放" alt="" coords="5,5,112,31"/>
</map>
</div>

</div>
</div>
<a id="a0beb39d84c085c9baadb8a933edf1e53" name="a0beb39d84c085c9baadb8a933edf1e53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0beb39d84c085c9baadb8a933edf1e53">&#9670;&#160;</a></span>cb_parser_wav()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_parser_wav </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析 wav 音频源 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: wav 音频源文件绝对路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00705">705</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a0beb39d84c085c9baadb8a933edf1e53_cgraph.png" border="0" usemap="#aload__mv_8c_a0beb39d84c085c9baadb8a933edf1e53_cgraph" alt=""/></div>
<map name="aload__mv_8c_a0beb39d84c085c9baadb8a933edf1e53_cgraph" id="aload__mv_8c_a0beb39d84c085c9baadb8a933edf1e53_cgraph">
<area shape="rect" title="解析 wav 音频源" alt="" coords="5,31,112,56"/>
<area shape="rect" href="dev__dac_8c.html#a1cbb394145c7d8b7a7d17fc24a2d6406" title="DAC_DMA 配置, 采用 TIMR 触发 DMA 步进传输" alt="" coords="160,5,259,31"/>
<area shape="rect" href="wav__parser_8c.html#acc10199929987de81dc6d395c39832c0" title="wav 音频解析" alt="" coords="176,55,243,80"/>
</map>
</div>

</div>
</div>
<a id="ade87c0786f4382f3e221f3a79cef3a01" name="ade87c0786f4382f3e221f3a79cef3a01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade87c0786f4382f3e221f3a79cef3a01">&#9670;&#160;</a></span>cb_decode_wav()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_decode_wav </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解码 wav 音频播放 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: 事件参数(暂未使用, 可自定义) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00858">858</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_ade87c0786f4382f3e221f3a79cef3a01_cgraph.png" border="0" usemap="#aload__mv_8c_ade87c0786f4382f3e221f3a79cef3a01_cgraph" alt=""/></div>
<map name="aload__mv_8c_ade87c0786f4382f3e221f3a79cef3a01_cgraph" id="aload__mv_8c_ade87c0786f4382f3e221f3a79cef3a01_cgraph">
<area shape="rect" title="解码 wav 音频播放" alt="" coords="5,31,119,56"/>
<area shape="rect" href="load__mv_8c.html#a79e1ebe637dcb48c69706eb81c73b576" title="关闭 wav 音频, 并释放所占用的资源" alt="" coords="195,5,298,31"/>
<area shape="rect" href="dev__dac_8c.html#ab18d2dbe4e762641f948bc31b52234f4" title="DAC DMA 判断是否传输完成" alt="" coords="167,55,327,80"/>
<area shape="rect" href="dev__dac_8c.html#a7274a6adbc1a4a9f5a2f27be8d1225e4" title="DAC_DMA 配置恢复初始默认状态" alt="" coords="375,5,488,31"/>
</map>
</div>

</div>
</div>
<a id="a79e1ebe637dcb48c69706eb81c73b576" name="a79e1ebe637dcb48c69706eb81c73b576"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79e1ebe637dcb48c69706eb81c73b576">&#9670;&#160;</a></span>cb_close_wav()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int cb_close_wav </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>关闭 wav 音频, 并释放所占用的资源 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>: 事件参数(暂未使用, 可自定义) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">next_state</td><td>: 返回运行状态 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00521">521</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_cgraph.png" border="0" usemap="#aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_cgraph" alt=""/></div>
<map name="aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_cgraph" id="aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_cgraph">
<area shape="rect" title="关闭 wav 音频, 并释放所占用的资源" alt="" coords="5,5,108,31"/>
<area shape="rect" href="dev__dac_8c.html#a7274a6adbc1a4a9f5a2f27be8d1225e4" title="DAC_DMA 配置恢复初始默认状态" alt="" coords="156,5,269,31"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_icgraph.png" border="0" usemap="#aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_icgraph" alt=""/></div>
<map name="aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_icgraph" id="aload__mv_8c_a79e1ebe637dcb48c69706eb81c73b576_icgraph">
<area shape="rect" title="关闭 wav 音频, 并释放所占用的资源" alt="" coords="167,5,269,31"/>
<area shape="rect" href="load__mv_8c.html#ade87c0786f4382f3e221f3a79cef3a01" title="解码 wav 音频播放" alt="" coords="5,5,119,31"/>
</map>
</div>

</div>
</div>
<a id="a6ce56145e8e2449ba3049c2a622e84b6" name="a6ce56145e8e2449ba3049c2a622e84b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ce56145e8e2449ba3049c2a622e84b6">&#9670;&#160;</a></span>isr_btimer_avi()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void isr_btimer_avi </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Timer ISR Callback (AVI 视频帧率控制) </p>
<dl class="section note"><dt>注解</dt><dd>此函数执行时长不应超过定时器设定的周期 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00196">196</a> 行定义.</p>

</div>
</div>
<a id="a4baf0d2c0d6e1fea0ddb9867c9747f8b" name="a4baf0d2c0d6e1fea0ddb9867c9747f8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4baf0d2c0d6e1fea0ddb9867c9747f8b">&#9670;&#160;</a></span>mv_task_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mv_task_handler </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>音视频任务处理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">==</td><td>0 : 运行 </td></tr>
    <tr><td class="paramname">&gt;</td><td>0 : 挂起 </td></tr>
    <tr><td class="paramname">&lt;</td><td>0 : 错误 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>本函数须轮询调用 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00211">211</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_cgraph.png" border="0" usemap="#aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_cgraph" alt=""/></div>
<map name="aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_cgraph" id="aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_cgraph">
<area shape="rect" title="音视频任务处理" alt="" coords="5,31,124,56"/>
<area shape="rect" href="posix__fsm_8c.html#a0b1b28d5d26c97b4c934f7822c1a7a04" title="当指定事件触发时, 状态机会自动寻找并调用对应的动作处理回调, 从而完成状态转移" alt="" coords="172,31,287,56"/>
<area shape="rect" href="pthread__lock_8h.html#a5b24d442627e9343245d4a44daa81ada" title="加锁" alt="" coords="342,5,481,31"/>
<area shape="rect" href="pthread__lock_8h.html#a4f08153d45685a64dd5901e150b988ef" title="解锁" alt="" coords="335,55,488,80"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_icgraph.png" border="0" usemap="#aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_icgraph" alt=""/></div>
<map name="aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_icgraph" id="aload__mv_8c_a4baf0d2c0d6e1fea0ddb9867c9747f8b_icgraph">
<area shape="rect" title="音视频任务处理" alt="" coords="339,5,457,31"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="227,5,291,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="ab03d657977c16952b0a16e589fbd6e71" name="ab03d657977c16952b0a16e589fbd6e71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab03d657977c16952b0a16e589fbd6e71">&#9670;&#160;</a></span>mv_task_over()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mv_task_over </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>结束播放, 释放所占用的资源 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00224">224</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_ab03d657977c16952b0a16e589fbd6e71_cgraph.png" border="0" usemap="#aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_cgraph" alt=""/></div>
<map name="aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_cgraph" id="aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_cgraph">
<area shape="rect" title="结束播放, 释放所占用的资源" alt="" coords="5,31,105,56"/>
<area shape="rect" href="posix__fsm_8c.html#a0b1b28d5d26c97b4c934f7822c1a7a04" title="当指定事件触发时, 状态机会自动寻找并调用对应的动作处理回调, 从而完成状态转移" alt="" coords="153,5,268,31"/>
<area shape="rect" href="posix__fsm_8c.html#a02397a7a821d3ddd678b34eea5e94054" title="获取当前状态" alt="" coords="159,55,263,80"/>
<area shape="rect" href="pthread__lock_8h.html#a5b24d442627e9343245d4a44daa81ada" title="加锁" alt="" coords="323,5,462,31"/>
<area shape="rect" href="pthread__lock_8h.html#a4f08153d45685a64dd5901e150b988ef" title="解锁" alt="" coords="316,55,469,80"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_ab03d657977c16952b0a16e589fbd6e71_icgraph.png" border="0" usemap="#aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_icgraph" alt=""/></div>
<map name="aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_icgraph" id="aload__mv_8c_ab03d657977c16952b0a16e589fbd6e71_icgraph">
<area shape="rect" title="结束播放, 释放所占用的资源" alt="" coords="1961,105,2061,131"/>
<area shape="rect" href="load__mv_8c.html#a7dd8d59698dc593d41250fc09a0ae5a5" title="打开源文件启动播放" alt="" coords="1797,55,1891,80"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="1621,5,1685,31"/>
<area shape="rect" href="ui__event_8c.html#a00e13aa90322d785281749032e468a01" title="清理首页的视频" alt="" coords="1163,105,1325,131"/>
<area shape="rect" href="ui__event_8c.html#a201743dfea0db58797dca624b7d9c5e5" title="退出 M0 / M4 SHOW 页前的清理、释放资源" alt="" coords="1775,213,1913,239"/>
<area shape="rect" href="ui__event_8c.html#a327a85392000232adf5057ea3bcd0322" title="退出 PP 页前的清理、释放资源" alt="" coords="1189,156,1299,181"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,81,179,107"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,81,56,107"/>
<area shape="rect" href="ui__event_8c.html#a58a9ebadd92a9ee7765fea889ed07073" title="主桌面下 Home 页四个跳转按钮的事件回调" alt="" coords="956,56,1115,81"/>
<area shape="rect" href="ui__event_8c.html#a40e95f44ce28a5bf2fb6a5d8cc725232" title="主桌面下 Home 页的 LOGO 按钮回调(视频)" alt="" coords="960,105,1111,131"/>
<area shape="rect" href="ui__event_8c.html#a4f51ebc6c5bd5d4bdc6e80e1d5b3f554" title="tabview 的事件回调" alt="" coords="974,155,1097,180"/>
<area shape="rect" href="ui__event_8c.html#ac0feb967035c8b6b1949cd42c92cbc69" title="主桌面 Home 页注册事件回调" alt="" coords="712,56,908,81"/>
<area shape="rect" href="setup__home__page__home_8c.html#a236ec2e4ba252c597a6c8d695eb5e825" title="创建 Home 页" alt="" coords="497,56,664,81"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,157,449,183"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,107,283,132"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="507,107,654,132"/>
<area shape="rect" href="ui__event_8c.html#a994ade1f62e3df92bae5eda56445c58e" title="M0 / M4 Show 页退出按钮回调" alt="" coords="1580,225,1727,251"/>
<area shape="rect" href="ui__event_8c.html#a905108d92ce4fd3bccf05e1aec5c24bd" title="M0 / M4 芯片具体型号介绍展示页注册事件回调" alt="" coords="1373,249,1532,275"/>
<area shape="rect" href="setup__scr__m0__m4_8c.html#a3f8c5e10b9dbf61ec407b6d84a885ab7" title="创建 M0 / M4 芯片具体型号介绍展示页" alt="" coords="1179,256,1309,281"/>
<area shape="rect" href="ui__event_8c.html#aa79ab1e226edfa66cf11eb85278bbc62" title="M0 页 跳转 M0_SHOW 页的按钮回调" alt="" coords="963,305,1107,331"/>
<area shape="rect" href="ui__event_8c.html#a4cc241fe1f2755f3c46c7dadbd3f58e2" title="M4 页 跳转 M4_SHOW 页的按钮回调" alt="" coords="963,256,1107,281"/>
<area shape="rect" href="ui__event_8c.html#a3d4333831962ec3ffc6e449faad388f7" title="主桌面 M0 页注册事件回调" alt="" coords="719,305,901,331"/>
<area shape="rect" href="setup__home__page__m0_8c.html#aa198ac34b1b6fa9f86d497cc3baf1d19" title="创建 M0 页" alt="" coords="504,305,657,331"/>
<area shape="rect" href="ui__event_8c.html#a6dbae8eeb24298bef6c9090399d4f88c" title="主桌面 M4 页注册事件回调" alt="" coords="719,256,901,281"/>
<area shape="rect" href="setup__home__page__m4_8c.html#afb77653567b2b50aef74a97266462f0c" title="创建 M4 页" alt="" coords="504,256,657,281"/>
<area shape="rect" href="ui__event_8c.html#a7356df791bd9a4545b909645db43f2f1" title="主桌面下的四个页面 Home / Back 键的事件回调( H B )" alt="" coords="965,207,1105,232"/>
<area shape="rect" href="ui__event_8c.html#ae39dc4b65d8a15dbb98e2321040443a9" title="主桌面 PD 页注册事件回调" alt="" coords="721,157,899,183"/>
<area shape="rect" href="ui__event_8c.html#a4e9e72dc1392fbfa791b66d58f43cad0" title="主桌面 PP 页注册事件回调" alt="" coords="721,207,899,232"/>
<area shape="rect" href="setup__home__page__pd_8c.html#ab3e09574fd12d91ac7158b266241f565" title="创建 Product 页" alt="" coords="506,157,655,183"/>
<area shape="rect" href="setup__home__page__pp_8c.html#a2dc049611b8a6a5e649913c9ead4dc72" title="创建 Picture 页" alt="" coords="506,207,655,232"/>
</map>
</div>

</div>
</div>
<a id="a7dd8d59698dc593d41250fc09a0ae5a5" name="a7dd8d59698dc593d41250fc09a0ae5a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dd8d59698dc593d41250fc09a0ae5a5">&#9670;&#160;</a></span>mv_task_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mv_task_init </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file_path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>打开源文件启动播放 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file_path</td><td>: 源文件绝对路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00260">260</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_cgraph.png" border="0" usemap="#aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_cgraph" alt=""/></div>
<map name="aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_cgraph" id="aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_cgraph">
<area shape="rect" title="打开源文件启动播放" alt="" coords="5,29,100,55"/>
<area shape="rect" href="posix__fsm_8c.html#a0b1b28d5d26c97b4c934f7822c1a7a04" title="当指定事件触发时, 状态机会自动寻找并调用对应的动作处理回调, 从而完成状态转移" alt="" coords="296,5,411,31"/>
<area shape="rect" href="load__mv_8c.html#ab03d657977c16952b0a16e589fbd6e71" title="结束播放, 释放所占用的资源" alt="" coords="148,55,248,80"/>
<area shape="rect" href="pthread__lock_8h.html#a5b24d442627e9343245d4a44daa81ada" title="加锁" alt="" coords="466,5,605,31"/>
<area shape="rect" href="pthread__lock_8h.html#a4f08153d45685a64dd5901e150b988ef" title="解锁" alt="" coords="459,55,612,80"/>
<area shape="rect" href="posix__fsm_8c.html#a02397a7a821d3ddd678b34eea5e94054" title="获取当前状态" alt="" coords="301,55,405,80"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_icgraph.png" border="0" usemap="#aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_icgraph" alt=""/></div>
<map name="aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_icgraph" id="aload__mv_8c_a7dd8d59698dc593d41250fc09a0ae5a5_icgraph">
<area shape="rect" title="打开源文件启动播放" alt="" coords="339,5,433,31"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="227,5,291,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="a2877cfdf885996dd8831a2a37660352d" name="a2877cfdf885996dd8831a2a37660352d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2877cfdf885996dd8831a2a37660352d">&#9670;&#160;</a></span>mv_task_pause()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mv_task_pause </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>暂停播放 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>仅实现 音频 暂停/恢复 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00292">292</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a2877cfdf885996dd8831a2a37660352d_cgraph.png" border="0" usemap="#aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_cgraph" alt=""/></div>
<map name="aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_cgraph" id="aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_cgraph">
<area shape="rect" title="暂停播放" alt="" coords="5,31,117,56"/>
<area shape="rect" href="posix__fsm_8c.html#a02397a7a821d3ddd678b34eea5e94054" title="获取当前状态" alt="" coords="165,31,269,56"/>
<area shape="rect" href="pthread__lock_8h.html#a5b24d442627e9343245d4a44daa81ada" title="加锁" alt="" coords="325,5,463,31"/>
<area shape="rect" href="pthread__lock_8h.html#a4f08153d45685a64dd5901e150b988ef" title="解锁" alt="" coords="317,55,471,80"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a2877cfdf885996dd8831a2a37660352d_icgraph.png" border="0" usemap="#aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_icgraph" alt=""/></div>
<map name="aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_icgraph" id="aload__mv_8c_a2877cfdf885996dd8831a2a37660352d_icgraph">
<area shape="rect" title="暂停播放" alt="" coords="873,5,985,31"/>
<area shape="rect" href="ui__event_8c.html#a779aa5b010979e9e3cff8d431d88112b" title="tabview 下属各 tab&#45;page 的事件回调" alt="" coords="692,5,825,31"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="497,5,644,31"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,5,449,31"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,5,283,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="a913dfd46ff07efd13423f77b143fd156" name="a913dfd46ff07efd13423f77b143fd156"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a913dfd46ff07efd13423f77b143fd156">&#9670;&#160;</a></span>mv_task_resume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mv_task_resume </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>恢复播放 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>仅实现 音频 暂停/恢复 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00308">308</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a913dfd46ff07efd13423f77b143fd156_cgraph.png" border="0" usemap="#aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_cgraph" alt=""/></div>
<map name="aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_cgraph" id="aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_cgraph">
<area shape="rect" title="恢复播放" alt="" coords="5,31,125,56"/>
<area shape="rect" href="posix__fsm_8c.html#a02397a7a821d3ddd678b34eea5e94054" title="获取当前状态" alt="" coords="173,31,277,56"/>
<area shape="rect" href="pthread__lock_8h.html#a5b24d442627e9343245d4a44daa81ada" title="加锁" alt="" coords="333,5,471,31"/>
<area shape="rect" href="pthread__lock_8h.html#a4f08153d45685a64dd5901e150b988ef" title="解锁" alt="" coords="325,55,479,80"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a913dfd46ff07efd13423f77b143fd156_icgraph.png" border="0" usemap="#aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_icgraph" alt=""/></div>
<map name="aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_icgraph" id="aload__mv_8c_a913dfd46ff07efd13423f77b143fd156_icgraph">
<area shape="rect" title="恢复播放" alt="" coords="873,5,993,31"/>
<area shape="rect" href="ui__event_8c.html#a779aa5b010979e9e3cff8d431d88112b" title="tabview 下属各 tab&#45;page 的事件回调" alt="" coords="692,5,825,31"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="497,5,644,31"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,5,449,31"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,5,283,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<a id="a9cbedc9a40c34ca836f988cc88f5640f" name="a9cbedc9a40c34ca836f988cc88f5640f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cbedc9a40c34ca836f988cc88f5640f">&#9670;&#160;</a></span>lcd_set_alpha()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcd_set_alpha </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a>&#160;</td>
          <td class="paramname"><em>lcd_layer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置图层透明度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lcd_layer</td><td>: 图层 </td></tr>
    <tr><td class="paramname">alpha</td><td>: 透明度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>图层 x 的 constant alpha，用于 blending。 Blending 公式： BC = (C * CONSTA + Cs * (255 - CONSTA))/255 BC: blended color C : current layer color Cs: subjacent layers blended color 有如下几种 blending 情况： 图层 1 和图层 2 都使能时：先将图层 1 和背景颜色进行 blending，然后将图层 2 和 blending 后的图层进行 blending。 图层 1 或图层 2 仅有一个图层使能时：将被使能的图层和背景颜色进行 blending。 两个图层都不使能时：仅显示背景色。 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00335">335</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a9cbedc9a40c34ca836f988cc88f5640f_icgraph.png" border="0" usemap="#aload__mv_8c_a9cbedc9a40c34ca836f988cc88f5640f_icgraph" alt=""/></div>
<map name="aload__mv_8c_a9cbedc9a40c34ca836f988cc88f5640f_icgraph" id="aload__mv_8c_a9cbedc9a40c34ca836f988cc88f5640f_icgraph">
<area shape="rect" title="设置图层透明度" alt="" coords="1896,56,1999,81"/>
<area shape="rect" href="ui__event_8c.html#aab189236d70e0f59107417a3e4bfe935" title="M0 / M4 Show 页滑块回调(视频图层透明度调节)" alt="" coords="1515,56,1661,81"/>
<area shape="rect" href="ui__event_8c.html#a201743dfea0db58797dca624b7d9c5e5" title="退出 M0 / M4 SHOW 页前的清理、释放资源" alt="" coords="1709,5,1848,31"/>
<area shape="rect" href="ui__event_8c.html#ac098d7daab78175856fe3d9f75df0347" title="进入 M0 / M4 SHOW 页前的资源准备" alt="" coords="1121,107,1260,132"/>
<area shape="rect" href="ui__event_8c.html#a905108d92ce4fd3bccf05e1aec5c24bd" title="M0 / M4 芯片具体型号介绍展示页注册事件回调" alt="" coords="1308,56,1467,81"/>
<area shape="rect" href="setup__scr__m0__m4_8c.html#a3f8c5e10b9dbf61ec407b6d84a885ab7" title="创建 M0 / M4 芯片具体型号介绍展示页" alt="" coords="1126,57,1255,83"/>
<area shape="rect" href="ui__event_8c.html#aa79ab1e226edfa66cf11eb85278bbc62" title="M0 页 跳转 M0_SHOW 页的按钮回调" alt="" coords="929,57,1073,83"/>
<area shape="rect" href="ui__event_8c.html#a4cc241fe1f2755f3c46c7dadbd3f58e2" title="M4 页 跳转 M4_SHOW 页的按钮回调" alt="" coords="929,107,1073,132"/>
<area shape="rect" href="ui__event_8c.html#a3d4333831962ec3ffc6e449faad388f7" title="主桌面 M0 页注册事件回调" alt="" coords="699,57,881,83"/>
<area shape="rect" href="setup__home__page__m0_8c.html#aa198ac34b1b6fa9f86d497cc3baf1d19" title="创建 M0 页" alt="" coords="497,57,651,83"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,83,449,108"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,83,283,108"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,83,179,108"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,83,56,108"/>
<area shape="rect" href="ui__event_8c.html#a6dbae8eeb24298bef6c9090399d4f88c" title="主桌面 M4 页注册事件回调" alt="" coords="699,107,881,132"/>
<area shape="rect" href="setup__home__page__m4_8c.html#afb77653567b2b50aef74a97266462f0c" title="创建 M4 页" alt="" coords="497,107,651,132"/>
<area shape="rect" href="ui__event_8c.html#a994ade1f62e3df92bae5eda56445c58e" title="M0 / M4 Show 页退出按钮回调" alt="" coords="1515,7,1661,32"/>
</map>
</div>

</div>
</div>
<a id="a6be0f2908cc5e6f47baae4138c8be510" name="a6be0f2908cc5e6f47baae4138c8be510"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6be0f2908cc5e6f47baae4138c8be510">&#9670;&#160;</a></span>lcd_set_color_key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcd_set_color_key </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a>&#160;</td>
          <td class="paramname"><em>lcd_layer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>color_key_enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>rgb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置图层色键控 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lcd_layer</td><td>: 图层 </td></tr>
    <tr><td class="paramname">color_key_enable</td><td>: 色键控使能 </td></tr>
    <tr><td class="paramname">rgb</td><td>: 按[R, G, B]排列 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>LCD_FORMAT 优先于 Color Key 配置 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00351">351</a> 行定义.</p>

</div>
</div>
<a id="a26fdaf5976717811bbc2342599b1da4b" name="a26fdaf5976717811bbc2342599b1da4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26fdaf5976717811bbc2342599b1da4b">&#9670;&#160;</a></span>video_outset_format()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void video_outset_format </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>rgb565_dither</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置视频解码输出格式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>: 解码输出格式，可取值JPEG_OUT_YUV、JPEG_OUT_YUVsp、JPEG_OUT_XRGB888、...详见 swm341_jpeg.h </td></tr>
    <tr><td class="paramname">rgb565_dither</td><td>: RGB565 dithering enable </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>仅 format 为 JPEG_OUT_RGB565 时, dither 有效 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00381">381</a> 行定义.</p>

</div>
</div>
<a id="a319fc11a86458ae8f312ba52f686483c" name="a319fc11a86458ae8f312ba52f686483c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a319fc11a86458ae8f312ba52f686483c">&#9670;&#160;</a></span>video_set_post()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void video_set_post </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="load__mv_8h.html#ab9806189ae8983878b4853db01912f47">lcd_layer_t</a>&#160;</td>
          <td class="paramname"><em>lcd_layer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>xs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>ys</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置视频播放显示区域 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">lcd_layer</td><td>: 视频所用图层 </td></tr>
    <tr><td class="paramname">xs</td><td>: 起始位置(取值范围 0 ~ LCD_HDOT - 1) </td></tr>
    <tr><td class="paramname">ys</td><td>: 起始位置(取值范围 0 ~ LCD_VDOT - 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>若该函数被调用时, 调用者须确保视频源有效(依赖 Avix 结构体), 若视频源无效, 则此函数不会完成任何动作 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00395">395</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a319fc11a86458ae8f312ba52f686483c_icgraph.png" border="0" usemap="#aload__mv_8c_a319fc11a86458ae8f312ba52f686483c_icgraph" alt=""/></div>
<map name="aload__mv_8c_a319fc11a86458ae8f312ba52f686483c_icgraph" id="aload__mv_8c_a319fc11a86458ae8f312ba52f686483c_icgraph">
<area shape="rect" title="设置视频播放显示区域" alt="" coords="1747,123,1855,149"/>
<area shape="rect" href="ui__event_8c.html#a53cebaf51bcf2786bde1c132e88698ec" title="Picture 页视频操作按钮回调 &#45; 左/右(隐藏式)" alt="" coords="1557,43,1687,69"/>
<area shape="rect" href="ui__event_8c.html#a16ca4a377e8f64d2ed4f15ecd9f01632" title="M0 / M4 Show 页开关回调(全屏跟随触摸)" alt="" coords="1545,98,1699,123"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="358,125,422,150"/>
<area shape="rect" href="load__mv_8c.html#ab3b1a7d6c03074968fcdfa784fe8fe14" title="视频中心跟随触摸移动" alt="" coords="1551,199,1693,225"/>
<area shape="rect" href="ui__event_8c.html#a4e9e72dc1392fbfa791b66d58f43cad0" title="主桌面 PP 页注册事件回调" alt="" coords="1319,37,1497,62"/>
<area shape="rect" href="setup__home__page__pp_8c.html#a2dc049611b8a6a5e649913c9ead4dc72" title="创建 Picture 页" alt="" coords="1121,23,1271,49"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,74,449,99"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,74,283,99"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,99,179,125"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,99,56,125"/>
<area shape="rect" href="ui__event_8c.html#a905108d92ce4fd3bccf05e1aec5c24bd" title="M0 / M4 芯片具体型号介绍展示页注册事件回调" alt="" coords="1329,98,1487,123"/>
<area shape="rect" href="setup__scr__m0__m4_8c.html#a3f8c5e10b9dbf61ec407b6d84a885ab7" title="创建 M0 / M4 芯片具体型号介绍展示页" alt="" coords="1131,98,1261,123"/>
<area shape="rect" href="ui__event_8c.html#aa79ab1e226edfa66cf11eb85278bbc62" title="M0 页 跳转 M0_SHOW 页的按钮回调" alt="" coords="929,49,1073,74"/>
<area shape="rect" href="ui__event_8c.html#a4cc241fe1f2755f3c46c7dadbd3f58e2" title="M4 页 跳转 M4_SHOW 页的按钮回调" alt="" coords="929,98,1073,123"/>
<area shape="rect" href="ui__event_8c.html#a3d4333831962ec3ffc6e449faad388f7" title="主桌面 M0 页注册事件回调" alt="" coords="699,49,881,74"/>
<area shape="rect" href="setup__home__page__m0_8c.html#aa198ac34b1b6fa9f86d497cc3baf1d19" title="创建 M0 页" alt="" coords="497,49,651,74"/>
<area shape="rect" href="ui__event_8c.html#a6dbae8eeb24298bef6c9090399d4f88c" title="主桌面 M4 页注册事件回调" alt="" coords="699,98,881,123"/>
<area shape="rect" href="setup__home__page__m4_8c.html#afb77653567b2b50aef74a97266462f0c" title="创建 M4 页" alt="" coords="497,98,651,123"/>
</map>
</div>

</div>
</div>
<a id="a3ff08970bdf7f8e28122786eac11d6d3" name="a3ff08970bdf7f8e28122786eac11d6d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ff08970bdf7f8e28122786eac11d6d3">&#9670;&#160;</a></span>video_set_loop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void video_set_loop </td>
          <td>(</td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>times</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置视频循环播放次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">times</td><td>: 当前播放次数 </td></tr>
    <tr><td class="paramname">max</td><td>: 上限 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00431">431</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_a3ff08970bdf7f8e28122786eac11d6d3_icgraph.png" border="0" usemap="#aload__mv_8c_a3ff08970bdf7f8e28122786eac11d6d3_icgraph" alt=""/></div>
<map name="aload__mv_8c_a3ff08970bdf7f8e28122786eac11d6d3_icgraph" id="aload__mv_8c_a3ff08970bdf7f8e28122786eac11d6d3_icgraph">
<area shape="rect" title="设置视频循环播放次数" alt="" coords="1373,155,1480,180"/>
<area shape="rect" href="ui__event_8c.html#a00e13aa90322d785281749032e468a01" title="清理首页的视频" alt="" coords="1163,80,1325,105"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,111,449,136"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="549,205,613,231"/>
<area shape="rect" href="ui__event_8c.html#a58a9ebadd92a9ee7765fea889ed07073" title="主桌面下 Home 页四个跳转按钮的事件回调" alt="" coords="956,5,1115,31"/>
<area shape="rect" href="ui__event_8c.html#a40e95f44ce28a5bf2fb6a5d8cc725232" title="主桌面下 Home 页的 LOGO 按钮回调(视频)" alt="" coords="960,55,1111,80"/>
<area shape="rect" href="ui__event_8c.html#a4f51ebc6c5bd5d4bdc6e80e1d5b3f554" title="tabview 的事件回调" alt="" coords="974,104,1097,129"/>
<area shape="rect" href="ui__event_8c.html#ac0feb967035c8b6b1949cd42c92cbc69" title="主桌面 Home 页注册事件回调" alt="" coords="712,53,908,79"/>
<area shape="rect" href="setup__home__page__home_8c.html#a236ec2e4ba252c597a6c8d695eb5e825" title="创建 Home 页" alt="" coords="497,53,664,79"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,117,283,143"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,155,179,180"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,155,56,180"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="737,104,883,129"/>
</map>
</div>

</div>
</div>
<a id="abe5464036c09e633ce1a409d40e11164" name="abe5464036c09e633ce1a409d40e11164"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe5464036c09e633ce1a409d40e11164">&#9670;&#160;</a></span>video_get_loop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void video_get_loop </td>
          <td>(</td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>times</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取视频循环播放次数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">times</td><td>: 当前播放次数 </td></tr>
    <tr><td class="paramname">max</td><td>: 上限 </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00442">442</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_abe5464036c09e633ce1a409d40e11164_icgraph.png" border="0" usemap="#aload__mv_8c_abe5464036c09e633ce1a409d40e11164_icgraph" alt=""/></div>
<map name="aload__mv_8c_abe5464036c09e633ce1a409d40e11164_icgraph" id="aload__mv_8c_abe5464036c09e633ce1a409d40e11164_icgraph">
<area shape="rect" title="获取视频循环播放次数" alt="" coords="1373,55,1480,80"/>
<area shape="rect" href="ui__event_8c.html#a00e13aa90322d785281749032e468a01" title="清理首页的视频" alt="" coords="1163,55,1325,80"/>
<area shape="rect" href="ui__event_8c.html#a58a9ebadd92a9ee7765fea889ed07073" title="主桌面下 Home 页四个跳转按钮的事件回调" alt="" coords="956,5,1115,31"/>
<area shape="rect" href="ui__event_8c.html#a40e95f44ce28a5bf2fb6a5d8cc725232" title="主桌面下 Home 页的 LOGO 按钮回调(视频)" alt="" coords="960,55,1111,80"/>
<area shape="rect" href="ui__event_8c.html#a4f51ebc6c5bd5d4bdc6e80e1d5b3f554" title="tabview 的事件回调" alt="" coords="974,104,1097,129"/>
<area shape="rect" href="ui__event_8c.html#ac0feb967035c8b6b1949cd42c92cbc69" title="主桌面 Home 页注册事件回调" alt="" coords="712,53,908,79"/>
<area shape="rect" href="setup__home__page__home_8c.html#a236ec2e4ba252c597a6c8d695eb5e825" title="创建 Home 页" alt="" coords="497,55,664,80"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,80,449,105"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,80,283,105"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,80,179,105"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,80,56,105"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="507,104,654,129"/>
</map>
</div>

</div>
</div>
<a id="ab3b1a7d6c03074968fcdfa784fe8fe14" name="ab3b1a7d6c03074968fcdfa784fe8fe14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3b1a7d6c03074968fcdfa784fe8fe14">&#9670;&#160;</a></span>video_center_with_tp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void video_center_with_tp </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>视频中心跟随触摸移动 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>: 触控中心 x 轴 </td></tr>
    <tr><td class="paramname">y</td><td>: 触控中心 y 轴 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>本函数默认只能调整区域视频, 对全屏播放视频无效(图层 1), 仅实现调整移动图层 2 位置 </dd></dl>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00458">458</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="load__mv_8c_ab3b1a7d6c03074968fcdfa784fe8fe14_cgraph.png" border="0" usemap="#aload__mv_8c_ab3b1a7d6c03074968fcdfa784fe8fe14_cgraph" alt=""/></div>
<map name="aload__mv_8c_ab3b1a7d6c03074968fcdfa784fe8fe14_cgraph" id="aload__mv_8c_ab3b1a7d6c03074968fcdfa784fe8fe14_cgraph">
<area shape="rect" title="视频中心跟随触摸移动" alt="" coords="5,5,148,31"/>
<area shape="rect" href="load__mv_8c.html#a319fc11a86458ae8f312ba52f686483c" title="设置视频播放显示区域" alt="" coords="196,5,304,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a03ef2b3ebf33b58442ece296ef64254b" name="a03ef2b3ebf33b58442ece296ef64254b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03ef2b3ebf33b58442ece296ef64254b">&#9670;&#160;</a></span>FSM_Event_Table</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structfsm__handle__t.html">fsm_handle_t</a> FSM_Event_Table[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    </div>
<div class="line">    </div>
<div class="line"> </div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e">fsm_event_parser_avi</a>, <a class="code hl_function" href="load__mv_8c.html#a904f1d788d926c7864c948c4f9d1c66f">cb_parser_avi</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a>},</div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d">fsm_event_parser_wav</a>, <a class="code hl_function" href="load__mv_8c.html#a0beb39d84c085c9baadb8a933edf1e53">cb_parser_wav</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a>},</div>
<div class="line"> </div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f">fsm_event_decode</a>, <a class="code hl_function" href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8">cb_decode_avi</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a>},</div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209">fsm_event_close</a>, <a class="code hl_function" href="load__mv_8c.html#a978ed993bd878f76db92c810771c0ee8">cb_close_avi</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a>},</div>
<div class="line"> </div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f">fsm_event_decode</a>, <a class="code hl_function" href="load__mv_8c.html#ade87c0786f4382f3e221f3a79cef3a01">cb_decode_wav</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a>},</div>
<div class="line">    {<a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209">fsm_event_close</a>, <a class="code hl_function" href="load__mv_8c.html#a79e1ebe637dcb48c69706eb81c73b576">cb_close_wav</a>, <a class="code hl_enumvalue" href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a>},</div>
<div class="line">}</div>
<div class="ttc" id="aload__mv_8c_html_a0beb39d84c085c9baadb8a933edf1e53"><div class="ttname"><a href="load__mv_8c.html#a0beb39d84c085c9baadb8a933edf1e53">cb_parser_wav</a></div><div class="ttdeci">static int cb_parser_wav(void *)</div><div class="ttdoc">解析 wav 音频源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00705">load_mv.c:705</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a3a29f68f2d856a9c2eea3a328d5233e8"><div class="ttname"><a href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8">cb_decode_avi</a></div><div class="ttdeci">static int cb_decode_avi(void *)</div><div class="ttdoc">解码 avi 视频播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00770">load_mv.c:770</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e"><div class="ttname"><a href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0006b5f2d91ef6c7cdbff7065bdbd49e">fsm_event_parser_avi</a></div><div class="ttdeci">@ fsm_event_parser_avi</div><div class="ttdoc">解析 avi 头</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00090">load_mv.c:90</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209"><div class="ttname"><a href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a170564aa26b89d074cf288e97ba94209">fsm_event_close</a></div><div class="ttdeci">@ fsm_event_close</div><div class="ttdoc">关闭</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00094">load_mv.c:93</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f"><div class="ttname"><a href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ade45d40e28be11dd81a75ab2f78f9a9f">fsm_event_decode</a></div><div class="ttdeci">@ fsm_event_decode</div><div class="ttdoc">解码</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00092">load_mv.c:92</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d"><div class="ttname"><a href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11ae7d904538ea9727252edd4bd8d44a30d">fsm_event_parser_wav</a></div><div class="ttdeci">@ fsm_event_parser_wav</div><div class="ttdoc">解析 wav 头</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00091">load_mv.c:91</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a79e1ebe637dcb48c69706eb81c73b576"><div class="ttname"><a href="load__mv_8c.html#a79e1ebe637dcb48c69706eb81c73b576">cb_close_wav</a></div><div class="ttdeci">static int cb_close_wav(void *)</div><div class="ttdoc">关闭 wav 音频, 并释放所占用的资源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00521">load_mv.c:521</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a904f1d788d926c7864c948c4f9d1c66f"><div class="ttname"><a href="load__mv_8c.html#a904f1d788d926c7864c948c4f9d1c66f">cb_parser_avi</a></div><div class="ttdeci">static int cb_parser_avi(void *)</div><div class="ttdoc">解析 avi 视频源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00533">load_mv.c:533</a></div></div>
<div class="ttc" id="aload__mv_8c_html_a978ed993bd878f76db92c810771c0ee8"><div class="ttname"><a href="load__mv_8c.html#a978ed993bd878f76db92c810771c0ee8">cb_close_avi</a></div><div class="ttdeci">static int cb_close_avi(void *)</div><div class="ttdoc">关闭 avi 视频, 并释放所占用的资源</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00482">load_mv.c:482</a></div></div>
<div class="ttc" id="aload__mv_8c_html_ade87c0786f4382f3e221f3a79cef3a01"><div class="ttname"><a href="load__mv_8c.html#ade87c0786f4382f3e221f3a79cef3a01">cb_decode_wav</a></div><div class="ttdeci">static int cb_decode_wav(void *)</div><div class="ttdoc">解码 wav 音频播放</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00858">load_mv.c:858</a></div></div>
<div class="ttc" id="aload__mv_8c_html_aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e"><div class="ttname"><a href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983ba670e07d99593e66c665616d780ffb00e">fsm_state_run_avi</a></div><div class="ttdeci">@ fsm_state_run_avi</div><div class="ttdoc">运行态-avi</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00082">load_mv.c:82</a></div></div>
<div class="ttc" id="aload__mv_8c_html_aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1"><div class="ttname"><a href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bab470eb20dd049d7bdce38bc9ae5f0db1">fsm_state_idle</a></div><div class="ttdeci">@ fsm_state_idle</div><div class="ttdoc">空闲态</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00081">load_mv.c:81</a></div></div>
<div class="ttc" id="aload__mv_8c_html_aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8"><div class="ttname"><a href="load__mv_8c.html#aefd70b8b91d72cbd548b6c38f385983bad9853dc519c747cd4515e80a7b242ea8">fsm_state_run_wav</a></div><div class="ttdeci">@ fsm_state_run_wav</div><div class="ttdoc">运行态-wav</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00084">load_mv.c:83</a></div></div>
</div><!-- fragment -->
<p>音视频状态转移表 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00119">119</a> 行定义.</p>

</div>
</div>
<a id="a7b04ea3ab24f188f71239a1d3b808030" name="a7b04ea3ab24f188f71239a1d3b808030"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b04ea3ab24f188f71239a1d3b808030">&#9670;&#160;</a></span>FSM</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structfsm__t.html">fsm_t</a> FSM</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    .table = (<a class="code hl_struct" href="structfsm__handle__t.html">fsm_handle_t</a> *)<a class="code hl_variable" href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">FSM_Event_Table</a>,</div>
<div class="line">    .table_num = <span class="keyword">sizeof</span>(<a class="code hl_variable" href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">FSM_Event_Table</a>) / <span class="keyword">sizeof</span>(<a class="code hl_variable" href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">FSM_Event_Table</a>[0])</div>
<div class="line">}</div>
<div class="ttc" id="aload__mv_8c_html_a03ef2b3ebf33b58442ece296ef64254b"><div class="ttname"><a href="load__mv_8c.html#a03ef2b3ebf33b58442ece296ef64254b">FSM_Event_Table</a></div><div class="ttdeci">static const fsm_handle_t FSM_Event_Table[]</div><div class="ttdoc">音视频状态转移表</div><div class="ttdef"><b>Definition:</b> <a href="load__mv_8c_source.html#l00119">load_mv.c:119</a></div></div>
<div class="ttc" id="astructfsm__handle__t_html"><div class="ttname"><a href="structfsm__handle__t.html">fsm_handle_t</a></div><div class="ttdef"><b>Definition:</b> <a href="posix__fsm_8h_source.html#l00056">posix_fsm.h:56</a></div></div>
</div><!-- fragment -->
<p>音视频状态机句柄 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00134">134</a> 行定义.</p>

</div>
</div>
<a id="abe7750a41e8ce4686680033dcc321cec" name="abe7750a41e8ce4686680033dcc321cec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe7750a41e8ce4686680033dcc321cec">&#9670;&#160;</a></span>Event_ID</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11">fsm_event_t</a> Event_ID = <a class="el" href="load__mv_8c.html#a493217321e8eec123f3a1a788dddcf11a0eebdd5efb02ae138999a818a5ace4a0">fsm_event_idle</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>音视频触发事件 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00140">140</a> 行定义.</p>

</div>
</div>
<a id="a3a3e1add9e325bafcb5ce220c4cf75bd" name="a3a3e1add9e325bafcb5ce220c4cf75bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a3e1add9e325bafcb5ce220c4cf75bd">&#9670;&#160;</a></span>Audio_PCM_Buff</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int16_t Audio_PCM_Buff[<a class="el" href="load__mv_8c.html#aa7c703137502abaebf7487b6d19a7565">PCM_BUFSIZE</a> *2]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>音频数据缓存 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00143">143</a> 行定义.</p>

</div>
</div>
<a id="a23bd76710e0085785dc0c07eee9f562b" name="a23bd76710e0085785dc0c07eee9f562b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23bd76710e0085785dc0c07eee9f562b">&#9670;&#160;</a></span>Audio_Control</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structppbuf__t.html">ppbuf_t</a> Audio_Control = {&amp;<a class="el" href="load__mv_8c.html#a3a3e1add9e325bafcb5ce220c4cf75bd">Audio_PCM_Buff</a>[0], 0, 1}</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>音频数据乒乓操作句柄 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00145">145</a> 行定义.</p>

</div>
</div>
<a id="acc289e18199098eb1e60099e71ce5476" name="acc289e18199098eb1e60099e71ce5476"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc289e18199098eb1e60099e71ce5476">&#9670;&#160;</a></span>Video_OutSet</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">jpeg_outset_t Video_OutSet</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>视频播放中 JPEG 解码输出设定 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00148">148</a> 行定义.</p>

</div>
</div>
<a id="a4dad906d6569beca6b524a122e5ebb11" name="a4dad906d6569beca6b524a122e5ebb11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dad906d6569beca6b524a122e5ebb11">&#9670;&#160;</a></span>File_Handle</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FIL File_Handle</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件句柄 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00151">151</a> 行定义.</p>

</div>
</div>
<a id="a270fa9b5805fcc89bfb0c3f0bcf77c4d" name="a270fa9b5805fcc89bfb0c3f0bcf77c4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a270fa9b5805fcc89bfb0c3f0bcf77c4d">&#9670;&#160;</a></span>Restart_Stream_ID</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Restart_Stream_ID = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>流起始数据类型 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00152">152</a> 行定义.</p>

</div>
</div>
<a id="a466f231c4630e48f95aa5980f6d0cc42" name="a466f231c4630e48f95aa5980f6d0cc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a466f231c4630e48f95aa5980f6d0cc42">&#9670;&#160;</a></span>Restart_Offset</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Restart_Offset = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>流起始数据偏移量 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00153">153</a> 行定义.</p>

</div>
</div>
<a id="adf6b06c522e8f78610aa821eff3a2508" name="adf6b06c522e8f78610aa821eff3a2508"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf6b06c522e8f78610aa821eff3a2508">&#9670;&#160;</a></span>Restart_StreamSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Restart_StreamSize = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>流起始的数据大小 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00154">154</a> 行定义.</p>

</div>
</div>
<a id="a47fdfbb31eda448a7ec364e2e724c2b7" name="a47fdfbb31eda448a7ec364e2e724c2b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47fdfbb31eda448a7ec364e2e724c2b7">&#9670;&#160;</a></span>Video_Loop_Nums</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint32_t Video_Loop_Nums = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>当前视频已循环播放次数 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00155">155</a> 行定义.</p>

</div>
</div>
<a id="adc415ff7c829fa6c6a78755deccbc10d" name="adc415ff7c829fa6c6a78755deccbc10d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc415ff7c829fa6c6a78755deccbc10d">&#9670;&#160;</a></span>Video_Loop_Max</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint32_t Video_Loop_Max = 0xFFFFFFFF</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>视频循环播放次数上限( uint32_t ) </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00156">156</a> 行定义.</p>

</div>
</div>
<a id="a492fd8587926eace74ba1054485d66b5" name="a492fd8587926eace74ba1054485d66b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a492fd8587926eace74ba1054485d66b5">&#9670;&#160;</a></span>IRQ_Flag_Frame</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a> IRQ_Flag_Frame = <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>帧率标志 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00159">159</a> 行定义.</p>

</div>
</div>
<a id="a158fc3faa30ddbece4360f3114710212" name="a158fc3faa30ddbece4360f3114710212"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a158fc3faa30ddbece4360f3114710212">&#9670;&#160;</a></span>Debug_FR_Table</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* Debug_FR_Table[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">=</div>
<div class="line">    {</div>
<div class="line">        <span class="stringliteral">&quot;FR_OK：成功&quot;</span>,                                          </div>
<div class="line">        <span class="stringliteral">&quot;FR_DISK_ERR：底层硬件错误&quot;</span>,                            </div>
<div class="line">        <span class="stringliteral">&quot;FR_INT_ERR：断言失败&quot;</span>,                                   </div>
<div class="line">        <span class="stringliteral">&quot;FR_NOT_READY：物理驱动没有工作&quot;</span>,                         </div>
<div class="line">        <span class="stringliteral">&quot;FR_NO_FILE：文件不存在&quot;</span>,                              </div>
<div class="line">        <span class="stringliteral">&quot;FR_NO_PATH：路径不存在&quot;</span>,                              </div>
<div class="line">        <span class="stringliteral">&quot;FR_INVALID_NAME：无效文件名&quot;</span>,                             </div>
<div class="line">        <span class="stringliteral">&quot;FR_DENIED：由于禁止访问或者目录已满访问被拒绝&quot;</span>,       </div>
<div class="line">        <span class="stringliteral">&quot;FR_EXIST：由于访问被禁止访问被拒绝&quot;</span>,                     </div>
<div class="line">        <span class="stringliteral">&quot;FR_INVALID_OBJECT：文件或者目录对象无效&quot;</span>,              </div>
<div class="line">        <span class="stringliteral">&quot;FR_WRITE_PROTECTED：物理驱动被写保护&quot;</span>,                   </div>
<div class="line">        <span class="stringliteral">&quot;FR_INVALID_DRIVE：逻辑驱动号无效&quot;</span>,                      </div>
<div class="line">        <span class="stringliteral">&quot;FR_NOT_ENABLED：卷中无工作区&quot;</span>,                             </div>
<div class="line">        <span class="stringliteral">&quot;FR_NO_FILESYSTEM：没有有效的FAT卷&quot;</span>,                    </div>
<div class="line">        <span class="stringliteral">&quot;FR_MKFS_ABORTED：由于参数错误f_mkfs()被终止&quot;</span>,             </div>
<div class="line">        <span class="stringliteral">&quot;FR_TIMEOUT：在规定的时间内无法获得访问卷的许可&quot;</span>,      </div>
<div class="line">        <span class="stringliteral">&quot;FR_LOCKED：由于文件共享策略操作被拒绝&quot;</span>,               </div>
<div class="line">        <span class="stringliteral">&quot;FR_NOT_ENOUGH_CORE：无法分配长文件名工作区&quot;</span>,            </div>
<div class="line">        <span class="stringliteral">&quot;FR_TOO_MANY_OPEN_FILES：当前打开的文件数大于_FS_SHARE&quot;</span>, </div>
<div class="line">        <span class="stringliteral">&quot;FR_INVALID_PARAMETER：参数无效&quot;</span>                      </div>
<div class="line">}</div>
</div><!-- fragment -->
<p>FATFS 文件系统 Debug 表 </p>

<p class="definition">在文件 <a class="el" href="load__mv_8c_source.html">load_mv.c</a> 第 <a class="el" href="load__mv_8c_source.html#l00165">165</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
